package com.wh.wisdomsite.xbox.hkws.entity;

import java.io.Serializable;
import java.util.Date;

public class TaskModel implements Serializable {


    /** DB id of the task. */
   private String id;

    /** Name or title of the task. */
    private  String name;

    /** Free text description of the task. */
    private String description;

    /** Indication of how important/urgent this task is */
    private int priority;

    /** The {@link} of the person that is responsible for this task. */
    private String owner;

    /** The {@link} of the person to which this task is delegated. */
    private String assignee;

    /** Reference to the process instance or null if it is not related to a process instance. */
    private String processInstanceId;

    /** Reference to the path of execution or null if it is not related to a process instance. */
    private String executionId;

    /** Reference to the process definition or null if it is not related to a process. */
    private String processDefinitionId;

    /** The date/time when this task was created */
    private String createTime;

    /** The id of the activity in the process defining this task or null if this is not related to a process */
    private String taskDefinitionKey;

    /** Due date of the task. */
    private String dueDate;

    /** The category of the task. This is an optional field and allows to 'tag' tasks as belonging to a certain category. */
    private String category;

    /** the parent task for which this task is a subtask */
    private String parentTaskId;

    /** The tenant identifier of this task */
    private String tenantId;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getAssignee() {
        return assignee;
    }

    public void setAssignee(String assignee) {
        this.assignee = assignee;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getExecutionId() {
        return executionId;
    }

    public void setExecutionId(String executionId) {
        this.executionId = executionId;
    }

    public String getProcessDefinitionId() {
        return processDefinitionId;
    }

    public void setProcessDefinitionId(String processDefinitionId) {
        this.processDefinitionId = processDefinitionId;
    }


    public String getTaskDefinitionKey() {
        return taskDefinitionKey;
    }

    public void setTaskDefinitionKey(String taskDefinitionKey) {
        this.taskDefinitionKey = taskDefinitionKey;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getParentTaskId() {
        return parentTaskId;
    }

    public void setParentTaskId(String parentTaskId) {
        this.parentTaskId = parentTaskId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getDueDate() {
        return dueDate;
    }

    public void setDueDate(String dueDate) {
        this.dueDate = dueDate;
    }
}
